from django.db import models
from frame_server.model import DictBase

# 系统字典表
class Dict(DictBase):
    class Meta:
        db_table = 'system_dict'
        ordering = ['sort','-createTime']
        indexes = [
            models.Index(fields=['parentId']),
            models.Index(fields=['code']),
            models.Index(fields=['parentId','code'])
        ]
